package com.corejsf;

import java.util.ArrayList;

public class User
{
	private String userName, password;
	private boolean admin;

	
	public User(String userName, String password){
		this.userName = userName;
		this.password= password;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isAdmin() {
		return admin;
	}

	public void setAdmin(boolean admin) {
		this.admin = admin;
	}

	@Override
	public String toString() {
		return "User [userName=" + userName + "]";
	}
	

	
	
}
